package com.mall.service;

import com.mall.db.api.UmsResourceCategoryApi;
import com.mall.pojo.UmsResourceCategory;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsResourceCategoryService {

    @DubboReference
    private UmsResourceCategoryApi umsResourceCategoryApi;

    //查询所有后台资源分类
    public List<UmsResourceCategory> listAll() {
        return umsResourceCategoryApi.listAll();
    }
}
